add_library(appmgr STATIC)
add_library(bell::appmgr ALIAS appmgr)

target_sources(appmgr
    PRIVATE
        ApplicationManager.cpp
        IdleHandler.cpp
    PUBLIC
        include/appmgr/messages/AlarmMessage.hpp
        include/appmgr/ApplicationManager.hpp
        include/appmgr/IdleHandler.hpp
        include/appmgr/messages/ChangeHomescreenLayoutMessage.hpp
        include/appmgr/messages/ChangeHomescreenLayoutParams.hpp
        include/appmgr/messages/PowerOffPopupRequestParams.hpp
)

target_include_directories(appmgr
    PUBLIC
        $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
)

target_link_libraries(appmgr
   PRIVATE
        module-apps
        application-bell-main
        application-bell-onboarding
        application-bell-whats-new
        service-appmgr
   PUBLIC
        alarms
)
